package Second.HomeWork.Work03;

public class SonLikeDo implements DadLikeDO,MonLikeDo{
    @Override
    public void ride() {
        System.out.println("喜欢骑车");
    }

    @Override
    public void baskeball() {
        System.out.println("喜欢打篮球");
    }

    @Override
    public void sing() {
        System.out.println("喜欢唱歌");
    }

    @Override
    public void dance() {
        System.out.println("喜欢跳舞");
    }

    public static void main(String[] args) {
        SonLikeDo sonLikeDo = new SonLikeDo();
        System.out.println("儿子的爱好有：");
        sonLikeDo.ride();
        sonLikeDo.baskeball();
        sonLikeDo.sing();
        sonLikeDo.dance();
    }
}
